package my_test.server;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.autoconfigure.domain.EntityScan;
import org.springframework.context.annotation.ComponentScan;
import org.springframework.data.jpa.repository.config.EnableJpaRepositories;

/**
 * Created by admin on 2017/1/12.
 */
@EnableJpaRepositories(basePackages = "my_test.dao")
@ComponentScan(basePackages = "my_test.ssc")
@EntityScan(basePackages = "my_test.model")
@SpringBootApplication
@ComponentScan(basePackages = "my_test")
public class ConfigTsetApplication {


    public static void main (String [] args) {
        SpringApplication.run(ConfigTsetApplication.class, args);
    }
}
